package br.ufg.inf.espweb.sgca.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import lombok.Getter;
import lombok.Setter;

/**
 *
 * @author diCastro
 */
@Entity
@Inheritance(strategy = InheritanceType.JOINED)
public abstract class Pessoa extends Entidade {
    @Getter
    @Setter
    @Column(nullable = false)
    private String nome;
    @Getter
    @Setter
    @Column(nullable = false)
    private String nomeCompleto;
    @Getter
    @Setter
    private String email;
}
